<template>
  <a-result status="error" :title="$t('NetworkError')" :sub-title="$t('Sorry, the server is reporting an error.')">
    <template #extra>
      <a-button type="primary" @click="toHome">
        {{$t('exception.build.page.button')}}
      </a-button>
    </template>
  </a-result>
</template>

<script>
  export default {
    name: 'ExceptionNetworkError',
    methods: {
      toHome () {
        this.$router.push({ path: '/' })
      }
    }
  }
</script>
